#ifndef COMPOUNDCONTROLLER_H
#define COMPOUNDCONTROLLER_H

// Include files.
#include <vector>
#include "Service.hpp"

/**
 *  CompoundService starts or stops a specified list of Services when it is started or stopped (respectivly).
 *  
 *  Testing shows this works.
 */
class CompoundService :
	public Service
{
	public:
		CompoundService();
		virtual ~CompoundService();
		
		void AddService(Service &service);
	protected:
		virtual void HandleStart();
};

#endif // #ifndef COMPOUNDCONTROLLER_H 
